const req = require("../db/seq");
const { DataTypes } = require("sequelize");
const Message = req.define("homeMessage", {
  headerMessage: {
    type: DataTypes.STRING,
    allowNull: true,
    defaultValue: "小周烧烤好吃不贵",
  },
  notice: {
    type: DataTypes.STRING,
    allowNull: true,
    defaultValue: "新点开业优惠不断",
  },
});
Message.sync();
// Message.create({})
module.exports = Message;
